#include <REGX52.H>
#include "LCD1602.h"
#include "delay.h"
#include "MatrixKey.h"

unsigned char KeyNum;

void main(){
	LCD_init();
	LCD_ShowString(1,1,"HelloWorld");
	for(;;){
		KeyNum=MatrixKey();
		if(KeyNum) LCD_ShowNum(2,1,KeyNum,2);
	}
}
